<?php

/**
 * 商户操作
 */

Route::group(['prefix' => 'v1', 'namespace' => 'Api'], function () {

    Route::post('business/login', 'BusinessController@login');
    Route::post('business/logout', 'BusinessController@logout');
    Route::post('business/refresh', 'BusinessController@refresh');
    Route::post('business/me', 'BusinessController@me');

    Route::middleware('auth:api')->get('/user', function () {

        return 123;

    });
});
